#ifndef _LED_H
#define _LED_H
#include "stm32f10x.h"
#include "sys.h"

void LED_Init(void);

#define LED1_RCC         RCC_APB2Periph_GPIOC
#define LED1_GPIO_Pin    GPIO_Pin_2
#define LED1_GPIO        GPIOC

#define LED2_RCC         RCC_APB2Periph_GPIOC
#define LED2_GPIO_Pin    GPIO_Pin_3
#define LED2_GPIO        GPIOC

#define LED1_OUT         PCout(2)
#define LED1_IN          PCin(2)
#define LED2_OUT         PCout(3)
#define LED2_IN          PCin(3)

#endif



